package com.shoppingmall.activity.mine;

import android.widget.ImageView;
import android.widget.TextView;

import com.example.zyh.toolslib.base.BaseActivity;
import com.example.zyh.toolslib.widget.TitleBar;
import com.shoppingmall.R;
import com.shoppingmall.utils.CodeTools;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 我的二维码
 */
public class MineQRCodeActivity extends BaseActivity {

    @BindView(R.id.title_bar)
    TitleBar titleBar;
    @BindView(R.id.iv_qr_code)
    ImageView ivQrCode;
    @BindView(R.id.tv_share)
    TextView tvShare;

    @Override
    protected int initLayout() {
        return R.layout.activity_mine_qrcode;
    }

    @Override
    protected void initView() {
        ivQrCode.setImageBitmap(CodeTools.create2Dcode("欢迎扫描左方二维码关注新浪新闻官方微信"));
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvent() {

    }

    @OnClick(R.id.tv_share)
    public void onViewClicked() {
    }
}
